﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using Abp.AutoMapper;
using FwProject.ShoppingMall.Shop;

namespace FwProject.Shop.Dto
{
    [AutoMap(typeof(ShopProductPar))]
    public class ShopProductParInput
    {
        /// <summary>
        /// 参数名称
        /// </summary>
        [Required]
        [Display(Name ="参数名称")]
        public string ParKey { get; set; }
        /// <summary>
        /// 参数值
        /// </summary>
        [Required]
        [Display(Name = "参数值")]
        public string ParValue { get; set; }
        /// <summary>
        /// 商品id
        /// </summary>
        [Display(Name = "商品编号")]
        public Guid ShopProductid { get; set; }
        /// <summary>
        /// 重量
        /// </summary>
        [Required]
        [Display(Name = "重量")]
        public float SpceWeight { get; set; } = 0;
    }
}
